import request from '@/utils/request'

export function insert(params) {
    return request({
        url: '/api/server/areaInfo/insert',
        method: 'post',
        data: params
    })
}


export function update(params) {
    return request({
        url: '/api/server/areaInfo/update',
        method: 'post',
        data: params
    })
}

export function queryTree(params) {
    return request({
        url: '/api/server/areaInfo/queryTree',
        method: 'post',
        data: params
    })
}

export function deleteById(params) {
    return request({
        url: '/api/server/areaInfo/deleteById',
        method: 'get',
        params: params
    })
}
